package com.lookpoint.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author wheel
 * @since 2023-11-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("cms_category")
@ApiModel(value = "Category对象", description = "")
public class Category implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("栏目编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("栏目名称")
    private String name;

    @ApiModelProperty("栏目描述")
    private String description;

    @ApiModelProperty("栏目序号")
    private Integer orderNum;

    @ApiModelProperty("栏目删除状态")
    private Integer deleted;

    @ApiModelProperty("父栏目id")
    private Integer parentId;
}
